<html>
<head><meta charset="utf-8"><title>documentation for method dispatch · t-lang/doc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/index.html">t-lang/doc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html">documentation for method dispatch</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="235416993"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235416993" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235416993">(Apr 20 2021 at 21:10)</a>:</h4>
<p>Hey folks-- do we document the method dispatch search loop ?</p>



<a name="235417518"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235417518" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235417518">(Apr 20 2021 at 21:13)</a>:</h4>
<p><span class="user-mention" data-user-id="116083">@pnkfelix</span> had a writeup of part of it, I think</p>



<a name="235417522"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235417522" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235417522">(Apr 20 2021 at 21:13)</a>:</h4>
<p>seems like no</p>



<a name="235417537"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235417537" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235417537">(Apr 20 2021 at 21:13)</a>:</h4>
<p>On an issue</p>



<a name="235417659"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235417659" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235417659">(Apr 20 2021 at 21:13)</a>:</h4>
<p>There is <a href="https://doc.rust-lang.org/nightly/reference/expressions/method-call-expr.html">https://doc.rust-lang.org/nightly/reference/expressions/method-call-expr.html</a>, is that what you are referring to?</p>



<a name="235417785"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235417785" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235417785">(Apr 20 2021 at 21:14)</a>:</h4>
<p>ah, I was clicking on "call expressions"</p>



<a name="235417995"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235417995" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235417995">(Apr 20 2021 at 21:14)</a>:</h4>
<p>Yes, that's a good write-up, thanks</p>



<a name="235418031"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235418031" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235418031">(Apr 20 2021 at 21:15)</a>:</h4>
<p>There's also this: <a href="https://rustc-dev-guide.rust-lang.org/method-lookup.html#method-lookup">https://rustc-dev-guide.rust-lang.org/method-lookup.html#method-lookup</a></p>



<a name="235419854"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235419854" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235419854">(Apr 20 2021 at 21:29)</a>:</h4>
<p>Yep. I was wondering because I wanted to suggest <a href="https://github.com/rust-lang/rust/pull/82190">https://github.com/rust-lang/rust/pull/82190</a> to make a PR describing the change</p>



<a name="235419890"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235419890" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235419890">(Apr 20 2021 at 21:30)</a>:</h4>
<p>I feel like the write-up in the reference could be made clearer</p>



<a name="235419919"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235419919" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235419919">(Apr 20 2021 at 21:30)</a>:</h4>
<p>I might open a PR to tweak it</p>



<a name="235419929"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235419929" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235419929">(Apr 20 2021 at 21:30)</a>:</h4>
<p>more pseudo-code, less prose</p>



<a name="235420195"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235420195" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Eric Huss <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235420195">(Apr 20 2021 at 21:32)</a>:</h4>
<p>Improvements are always very welcome. <span aria-label="smile" class="emoji emoji-1f642" role="img" title="smile">:smile:</span>  </p>
<p>There's also <a href="https://github.com/rust-lang/reference/issues/23">https://github.com/rust-lang/reference/issues/23</a>.  I have been reluctant to close it because I am uncertain if the current docs are complete.</p>



<a name="235611905"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/237824-t-lang/doc/topic/documentation%20for%20method%20dispatch/near/235611905" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/237824-t-lang/doc/topic/documentation.20for.20method.20dispatch.html#235611905">(Apr 22 2021 at 02:40)</a>:</h4>
<p><span class="user-mention silent" data-user-id="116122">simulacrum</span> <a href="#narrow/stream/237824-t-lang.2Fdoc/topic/documentation.20for.20method.20dispatch/near/235417537">said</a>:</p>
<blockquote>
<p>On an issue</p>
</blockquote>
<p>you might have been thinking of this: <a href="https://github.com/rust-lang/rust/issues/81211#issuecomment-765852230">https://github.com/rust-lang/rust/issues/81211#issuecomment-765852230</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>